<?php
/**
 * The Template for displaying all single posts.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

		<div id="container">
		<div id="case-split">
		
		</div>			
            <div id="case-main">
		<div id="project-categories-list-wrapper" class="shadow">
					<div id="project-categories-list">
					<h1 class="page-title">最新动态</h1>
						<ul  id="project-categories">
							<?php
							$recent_posts = wp_get_recent_posts(array('category' => 31));
							foreach( $recent_posts as $recent ){
							echo '<li><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' .   $recent["post_title"].'</a> </li> ';
							}
							?>	
						</ul>
					</div>	
		</div>
		
		<div id="project-perview-wrapper">
					<ul id="news-category-list">
						<?php get_template_part( 'loop', 'single' );?>
					</ul>
					
		</div> 
		
            </div>
        </div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
